package com.ruoyi.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 智联空间动态文档
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DynamicRecord {

    private Long id;

    private String nickname;

    private Long recordType;

    private Long documentId;

    private String documentName;

    private String avatar;

    private String suffix;

    private Long type;

    @TableField(exist = false)
    private String directoryType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operateTime;
}
